chmod: invalid file mode: foo
